/**
 * @BelongsProject: zzyl-cp423
 * @BelongsPackage: com.zzyl.nursing.task
 * @Author: 王明天
 * @CreateTime: 2025/1/16 9:25
 * @Description: ReservationJob
 */
package com.zzyl.nursing.task;

import com.zzyl.nursing.service.IReservationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


/**
 * 定时更新预约状态
 */
@Component
public class ReservationJob {

    @Autowired
    private IReservationService reservationService;

    public void updateReservationStatus(){

        reservationService.updateReservationStatus();
    }
}
